package com.tscnd.core.web.controller.common;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("common")
public class CommonController {
	/**
	 * 跳转到index主页面
	 * @param request
	 * @return
	 */
	@RequestMapping(value = "/tomain", method = RequestMethod.GET)
	public String toMain(HttpServletRequest request) {
		return "main";
	}
}
